home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / dev / gcc / ixemul_src.lha / ixemul-41.0 / man / cat2 / getpgrp.0 < prev    next >
Text File  |  1992-08-10  |  1KB  |  67 lines

  1.  
  2. GETPGRP(2)                 UNIX Programmer's Manual                 GETPGRP(2)
  3.  
  4. NNAAMMEE
  5.      ggeettppggrrpp - get process group
  6.  
  7. SSYYNNOOPPSSIISS
  8.      _p_i_d___t
  9.      ggeettppggrrpp(_i_n_t _p_i_d)
  10.  
  11. DDEESSCCRRIIPPTTIIOONN
  12.      The process group of the specified process is returned by ggeettppggrrpp().  If
  13.      _p_i_d is zero, the call applies to the current process.
  14.  
  15.      Process groups are used for distribution of signals, and by terminals to
  16.      arbitrate requests for their input: processes that have the same process
  17.      group as the terminal are foreground and may read, while others will
  18.      block with a signal if they attempt to read.
  19.  
  20.      This call is thus used by programs such as csh(1) to create process
  21.      groups in implementing job control.  The TIOCGPGRP and TIOCSPGRP calls
  22.      described in termios(4) are used to get/set the process group of the con­
  23.      trol terminal.
  24.  
  25. SSEEEE AALLSSOO
  26.      setpgrp(2),  getuid(2),  termios(4)
  27.  
  28. HHIISSTTOORRYY
  29.      The ggeettppggrrpp function call appeared in 4.0BSD.
  30.  
  31. 4.2 Berkeley Distribution       March 10, 1991                               1
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.